<body>
    <div class="container">
        <div class="row">
            <div class="col-12">
                <? echo app\NavComponent::render(); ?>
            </div>
        </div>
        <div class="row mt-5">
            <div class="col-12">
                <h2 class="text-success text-center">登录成功: <?php echo $user['name']; ?></h2>
            </div>
        </div>
    </div>
</body>
</html>